<form action="upload.php" method="POST" enctype="multipart/form-data" >
<input type="file" name="file1">
<input type="submit" value="submit">

</form>